<template>
    <div>
        <slot></slot>
    </div>
</template>

<script>
  import Emitter from '../../mixins/emitter.js'
  import { findComponentsDownward } from "../../utils/assist"

  export default {
    name: 'iRadioGroup',
    mixins: [Emitter],
    props: {
      value: {
        type: [Array, String]
      }
    },
    data() {
      return {
        children: []
      }
    },
    methods: {
      change() {
        this.$emit('change', this.value)
        this.dispatch('iFormItem', 'on-form-change', this.value)
      }
    },
  }
</script>
